import java.util.Scanner;
public class day{
    public static void main(String[] arry){
        Scanner sc=new Scanner(System.in);
        double a=sc.next.lnt();
        double b=sc.next.lnt();
        int day=0;
        while(a>b)
        {
            a/=2;
            day++;
        }
        System.out.println(day);
    }
}